//1.内置的类型声明文件(*.d.ts)
//lib.es5.d.ts <-数组/对象/字符串相关的属性和方法的类型声明

const arr =[1,2,3]
arr.push()

//lib.dom.d.ts<- DOM和BOM相关的方法/对象的类型声明
//document.querySelectorA11()

//2.第三方库的类型声明文件
//axios/dayjs
//import axios from "axios";
//axios.get()
//axios.post()

//import jquery from 'jquery'
//jquery.ajax()

//3.自定义的类型声明文件
//import {Person }from'./types/index
// const p1:Person ={
    //age :18,
    //name:'张三',
    //gender:'男'
//}
//console.log(p1)


import { add , point} from './add';

add(3, 10)

point({x: 100, y: 200})